<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      const user = {
        name: "jack",
        age: 20,
        gender: "boy",
        [Symbol("allow")]: true,
        [Symbol("id")]: 100,
      };
      console.log(Reflect.ownKeys(user));
      console.log(Object.getOwnPropertySymbols(user));
      console.log("Object.keys(user)", Object.keys(user));
      console.log("Object.values(user)", Object.values(user));
      console.log("Object.entries(user)", Object.entries(user));
    </script>
  </body>
</html>
